package com.atguigu.gmall.realtime.enums;

/**
 * 购物券类型枚举类
 *
 * @author lvbingbing
 * @date 2022-07-04 17:27
 */
public enum CouponTypeEnum {

    /**
     * 满减
     */
    FULL_REDUCTION("3201"),

    /**
     * 打折
     */
    DISCOUNT("3202"),

    /**
     * 代金券
     */
    VOUCHER("3203");

    private final String code;

    CouponTypeEnum(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}
